/*
 *	This file is part of Lounge-Cast.
 *
 *  Author:  	Markus Moormann
 *	E-mail:  	mmoorman@uni-osnabrueck.de
 *	Copyright:	University of Osnabrueck (Zentrum Virtuos)
 * 	Website:	www.uni-osnabrueck.de
 *	Date:		16.02.2011
 *
 *	Lounge-Cast is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *	Lounge-Cast is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with Lounge-Cast.  If not, see <http://www.gnu.org/licenses/>.
 */
package backend.vo;

import java.util.Date;

/**
 * class represents a Feed
 *
 * @author Markus Moormann
 */
public class FeedVO {

	/**
	 * internal id of the fee
	 */
	public int feed_id;
	/**
	 * the URL pointing to the feed
	 */
	public String url;
	/**
	 * title of the feed
	 */
	public String title;
	/**
	 * trust level of the feed (1|0)
	 */
	public int trust_level;
	/**
	 * the date, the feed items were lately updated
	 */
	public Date last_update;
	/**
	 * the date the feed was added
	 */
	public Date added;
	/**
	 * the user who added the feed
	 */
	public UserVO added_by;
	/**
	 * the playlist the items should be saved to
	 * if <code>auto_save_to_playlist</code> is true
	 */
	public PlaylistVO playlist;
	/**
	 * if set true, items are automatically saved to 
	 * given playlist if <code>trust_level</code> is 1
	 */
	public boolean auto_save_to_playlist;
	/**
	 * the time feed items should be valid after adding to a playlist
	 */
	public long feed_item_valid_time;
	/**
	 * the image to show on all feed items
	 */
	public String feed_item_background_image;
	/**
	 * the background color to show
	 */
	public int background_color;
	/**
	 * whether items from this feed should be shown in the newsticker
	 */
	public boolean add_to_newsticker;
	/**
	 * the duration of each item
	 */
	public int feed_item_duration;
	/**
	 * margin from bottom;
	 */
	public int feed_item_margin_bottom;
	/**
	 * margin from left
	 */
	public int feed_item_margin_left;
	/**
	 * margin from top
	 */
	public int feed_item_margin_top;
	/**
	 * margin from right
	 */
	public int feed_item_margin_right;
	
}
